#ifndef _SDLTASK_H_
#define _SDLTASK_H_

#include "Observable.h"
#include "..\controller\PropertyChangeListener.h"

namespace sdl
{
class SDLTask : public Observable
{
public:
	SDLTask(void);
	virtual ~SDLTask(void);
	virtual int getProgress(void);
	virtual bool isDone(void);
	virtual void addPropertyChangeListener(PropertyChangeListener*);
	virtual void notifyListener(void);
private:
	int progress;
	bool _isDone;
	PropertyChangeListener* listener;
};
};

#endif
